/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ipercube.model;

import com.ipercube.MeasureEvaluator;
import com.ipercube.Column;
import com.ipercube.DataMap;
import com.ipercube.Measure;
import com.ipercube.Row;

/**
 *
 * @author tartur
 */
public abstract class AbstractMeasureEvaluator implements MeasureEvaluator{
    private ColumnModel colModel;
    private RowModel rowModel;

    public void setColumnModel(ColumnModel colModel) {
        this.colModel = colModel;
    }

    public ColumnModel getColumnModel() {
        return colModel;
    }

    public void setRowModel(RowModel rowModel) {
        this.rowModel = rowModel;
    }

    public RowModel getRowModel() {
        return rowModel;
    }

    public abstract Measure evaluate(DataMap dataMap, Row r, Column c);

}
